﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoalManagement_ChangeStatus.aspx.cs" Inherits="PMP.Goals.GoalManagement_ChangeStatus" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Progress - Goal</title>
</head>
<body>
    <form id="form1" runat="server">
    
    <div>
    
        <asp:Label ID="lblStatus" runat="server" Text="Latest Progress:"></asp:Label>
        <asp:DropDownList ID="ddlStatus" runat="server" 
            DataSourceID="SqlDataSourceStatus" DataTextField="name" DataValueField="id" 
            Height="20px" Width="200px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSourceStatus" runat="server" 
            ConnectionString="<%$ ConnectionStrings:LocalConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:LocalConnectionString.ProviderName %>" 
            SelectCommand="SELECT [id], [name] FROM [goalstatus] ORDER BY [name]">
        </asp:SqlDataSource>
        <asp:Button ID="btnUpdate" runat="server" Text="Update" 
            onclick="btnUpdate_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
            onclick="btnCancel_Click" />
        <br />
        <asp:TextBox ID="txtGoal" runat="server" Visible="false"></asp:TextBox>
    
    </div>
    </form>
</body>
</html>
